package game.adm.entity;

import game.adm.dao.GameTypeDAO;
import game.adm.dao.dto.GameTypeDTO;
import game.adm.dao.factory.GameTypeFactory;

import java.util.List;

import projectx.core.base.ProjectXSystemException;
import projectx.core.base.ProjectXUserException;

public class GameTypeEntityManager {
	public static List<GameTypeDTO> listAll() throws ProjectXSystemException,ProjectXUserException {
		GameTypeFactory factory = GameTypeFactory.getFactory();
		GameTypeDAO dao = factory.getGameTypeDAO();
		return dao.listAll();
	}
}
